package cfdt.ldl.business.controller.lawyer;

import cfdt.common.vo.PageBaseResponse;
import cfdt.ldl.business.api.request.GetLawyerInfoListBusinessRequest;
import cfdt.ldl.business.service.lawyer.LawyerBusinessService;
import cfdt.ldl.core.entity.LawyerInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;



@RestController
@RequestMapping("/lawyer")
public class LawyerBusinessController {

    @Autowired
    LawyerBusinessService lawyerBusinessService;

    @GetMapping("/getLawyerInfoList")
    public PageBaseResponse<LawyerInfo> getLawyerInfoList(@RequestBody GetLawyerInfoListBusinessRequest request) {
        return lawyerBusinessService.getLawyerInfoList(request);
    }

}
